<template>
  <div class="menu">
    <router-link :to="{path: 'login'}">
      <div>
        <img src="static/images/ico-search.png" />
        <span>搜索</span>
      </div>
    </router-link>
    <router-link :to="{path: 'login'}">
      <div>
        <img src="static/images/ico-mycenter.png" />
        <span>个人中心</span>
      </div>
    </router-link>
    <router-link :to="{path: 'login'}">
      <div>
        <img src="static/images/ico-recharge.png" />
        <span>充值</span>
      </div>
    </router-link>
    <router-link :to="{path: 'login'}">
      <div>
        <img src="static/images/ico-readlog.png" />
        <span>阅读历史</span>
      </div>
    </router-link>
  </div>
</template>

<script>
  export default {
    name: 'HomeMenu',
    components: {
    },
    data () {
      return {
      };
    }
  }
</script>

<style lang="stylus" scoped>
  @import '~@/assets/styles/varibles.styl'
  .menu
    display flex
    padding .5rem 0
    width 100%
    a 
      flex 1
      text-align center
      img
        display block
        height 1rem
        margin 0 auto
        margin-bottom .3rem
        width 1rem
      span
        color $c333
        font-size .28rem
</style>
